CanAccessFileCallback

The callback is invoked when the engine checks if the given file can be accessed or not.

Use the can method to allow access to the file.

Use the cannot} method to deny access to the file.

If the callback throws an exception, the can method will be invoked.

Types

Link copied to clipboard
interface Params
The parameters of the CanAccessFileCallback.
Link copied to clipboard
interface Response
A response for CanAccessFileCallback.

Functions

Link copied to clipboard
@CheckForNull
abstract fun on(params: P): R
Invoked when the callback needs a response of type R that may be determined based on the provided callback parameters.